package com.yida.gwj.common.domain;

import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 业务房屋信息（基础数据管理模块）对象 basis_business_house
 *
 * @author lqq
 * @date 2022-11-15
 */
public class GwjBaseBusinessHouse extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 业务房屋ID
	 */
	@Excel(name = "业务房屋ID")
	private Long bizHouseId;

	/**
	 * 业务ID
	 */
	@Excel(name = "业务ID")
	private Long bizId;

	/**
	 * 房屋ID
	 */
	@Excel(name = "房屋编号")
	private Long houseId;

	/**
	 * 基础数据的楼栋id
	 */
	@Excel(name = "基础数据的楼栋id")
	private Long buildId;

	/**
	 * 坐落
	 */
	@Excel(name = "房屋坐落")
	private String houseLocation;

	/**
	 * 建筑结构
	 */
	@Excel(name = "建筑结构")
	private String buildFramework;

	/**
	 * 楼层号
	 */
	@Excel(name = "楼层号")
	private Long floorNum;

	/**
	 * 分户号
	 */
	@Excel(name = "分户号")
	private Long householdNum;

	/**
	 * 房牌号
	 */
	@Excel(name = "房号")
	private String roomNum;

	/**
	 * 房屋用途
	 */
	@Excel(name = "规划用途")
	private String useType;

	/**
	 * 预测面积
	 */
	@Excel(name = "期房面积")
	private BigDecimal forecastSize;

	/**
	 * 实测面积
	 */
	@Excel(name = "现房面积")
	private BigDecimal actualSize;

	/**
	 * 房屋标识码
	 */
	@Excel(name = "房屋标识码")
	private String houseCode;

	/**
	 * 自然幢标识码
	 */
	@Excel(name = "自然幢标识码")
	private String buildCode;

	/**
	 * 名义层
	 */
	@Excel(name = "名义层")
	private String nominalLayer;

	/**
	 * 1：已选择，2：未选择
	 */
	@Excel(name = "1：已选择，2：未选择")
	private String selectFlag;

	/**
	 * 户型
	 */
	@Excel(name = "户型")
	private String doorModel;

	/**
	 * 地区ID
	 */
	@Excel(name = "地区ID")
	private Long areaId;

	/**
	 * 街道ID
	 */
	@Excel(name = "街道ID")
	private Long streetId;

	/**
	 * 是否限制登记
	 */
	@Excel(name = "是否限制登记")
	private String restrictRegisterFlag;
	/**
	 * 是否抵押登记
	 */
	@Excel(name = "是否抵押登记")
	private String mortRegisterFlag;
	/**
	 * 是否产权登记
	 */
	@Excel(name = "是否产权登记")
	private String transferRegisterFlag;
	/**
	 * 是否总登记
	 */
	@Excel(name = "是否总登记")
	private String initialRegisterFlag;
	/**
	 * 是否已预购商品房抵押权预告登记
	 */
	@Excel(name = "是否已预购商品房抵押权预告登记")
	private String housePredictMortRegisterFlag;
	/**
	 * 是否已预购商品房预告登记
	 */
	@Excel(name = "是否已预购商品房预告登记")
	private String housePredictRegisterFlag;
	/**
	 * 是否已合同登记备案
	 */
	@Excel(name = "是否已合同登记备案")
	private String houseContractRegisterFlag;
	/**
	 * 是否已签约
	 */
	@Excel(name = "是否已签约")
	private String contractSignFlag;
	/**
	 * 是否已认购
	 */
	@Excel(name = "是否已认购")
	private String subscribeFlag;
	/**
	 * 是否预售许可
	 */
	@Excel(name = "是否预售许可")
	private String salePermitFlag;

	/**
	 * 楼栋名称
	 */
	@Excel(name = "楼栋")
	private String buildName;

	/**
	 * 业主名称
	 */
	@Excel(name = "业主")
	private String ownerName;
	
	private BigDecimal housingPrice;

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getBuildName() {
		return buildName;
	}

	public void setBuildName(String buildName) {
		this.buildName = buildName;
	}

	public String getHouseLocation() {
		return houseLocation;
	}

	public void setHouseLocation(String houseLocation) {
		this.houseLocation = houseLocation;
	}

	public String getDoorModel() {
		return doorModel;
	}

	public void setDoorModel(String doorModel) {
		this.doorModel = doorModel;
	}

	public String getSelectFlag() {
		return selectFlag;
	}

	public void setSelectFlag(String selectFlag) {
		this.selectFlag = selectFlag;
	}

	public String getRestrictRegisterFlag() {
		return restrictRegisterFlag;
	}

	public void setRestrictRegisterFlag(String restrictRegisterFlag) {
		this.restrictRegisterFlag = restrictRegisterFlag;
	}

	public String getMortRegisterFlag() {
		return mortRegisterFlag;
	}

	public void setMortRegisterFlag(String mortRegisterFlag) {
		this.mortRegisterFlag = mortRegisterFlag;
	}

	public String getTransferRegisterFlag() {
		return transferRegisterFlag;
	}

	public void setTransferRegisterFlag(String transferRegisterFlag) {
		this.transferRegisterFlag = transferRegisterFlag;
	}

	public String getInitialRegisterFlag() {
		return initialRegisterFlag;
	}

	public void setInitialRegisterFlag(String initialRegisterFlag) {
		this.initialRegisterFlag = initialRegisterFlag;
	}

	public String getHousePredictMortRegisterFlag() {
		return housePredictMortRegisterFlag;
	}

	public void setHousePredictMortRegisterFlag(String housePredictMortRegisterFlag) {
		this.housePredictMortRegisterFlag = housePredictMortRegisterFlag;
	}

	public String getHousePredictRegisterFlag() {
		return housePredictRegisterFlag;
	}

	public void setHousePredictRegisterFlag(String housePredictRegisterFlag) {
		this.housePredictRegisterFlag = housePredictRegisterFlag;
	}

	public String getHouseContractRegisterFlag() {
		return houseContractRegisterFlag;
	}

	public void setHouseContractRegisterFlag(String houseContractRegisterFlag) {
		this.houseContractRegisterFlag = houseContractRegisterFlag;
	}

	public String getContractSignFlag() {
		return contractSignFlag;
	}

	public void setContractSignFlag(String contractSignFlag) {
		this.contractSignFlag = contractSignFlag;
	}

	public String getSubscribeFlag() {
		return subscribeFlag;
	}

	public void setSubscribeFlag(String subscribeFlag) {
		this.subscribeFlag = subscribeFlag;
	}

	public String getSalePermitFlag() {
		return salePermitFlag;
	}

	public void setSalePermitFlag(String salePermitFlag) {
		this.salePermitFlag = salePermitFlag;
	}

	public Long getHouseId() {
		return houseId;
	}

	public void setHouseId(Long houseId) {
		this.houseId = houseId;
	}

	public Long getBizId() {
		return bizId;
	}

	public void setBizId(Long bizId) {
		this.bizId = bizId;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getStreetId() {
		return streetId;
	}

	public void setStreetId(Long streetId) {
		this.streetId = streetId;
	}

	public String getHouseCode() {
		return houseCode;
	}

	public void setHouseCode(String houseCode) {
		this.houseCode = houseCode;
	}

	public String getBuildCode() {
		return buildCode;
	}

	public void setBuildCode(String buildCode) {
		this.buildCode = buildCode;
	}

	public Long getBizHouseId() {
		return bizHouseId;
	}

	public void setBizHouseId(Long bizHouseId) {
		this.bizHouseId = bizHouseId;
	}

	public void setBuildId(Long buildId) {
		this.buildId = buildId;
	}

	public Long getBuildId() {
		return buildId;
	}

	public void setBuildFramework(String buildFramework) {
		this.buildFramework = buildFramework;
	}

	public String getBuildFramework() {
		return buildFramework;
	}

	public void setFloorNum(Long floorNum) {
		this.floorNum = floorNum;
	}

	public Long getFloorNum() {
		return floorNum;
	}

	public void setHouseholdNum(Long householdNum) {
		this.householdNum = householdNum;
	}

	public Long getHouseholdNum() {
		return householdNum;
	}

	public void setRoomNum(String roomNum) {
		this.roomNum = roomNum;
	}

	public String getRoomNum() {
		return roomNum;
	}

	public void setUseType(String useType) {
		this.useType = useType;
	}

	public String getUseType() {
		return useType;
	}

	public void setForecastSize(BigDecimal forecastSize) {
		this.forecastSize = forecastSize;
	}

	public BigDecimal getForecastSize() {
		return forecastSize;
	}

	public void setActualSize(BigDecimal actualSize) {
		this.actualSize = actualSize!= null ? actualSize :  new BigDecimal("0.00") ;
	}

	public BigDecimal getActualSize() {
		return actualSize;
	}

	public void setNominalLayer(String nominalLayer) {
		this.nominalLayer = nominalLayer;
	}

	public String getNominalLayer() {
		return nominalLayer;
	}

	public BigDecimal getHousingPrice() {
		return housingPrice;
	}

	public void setHousingPrice(BigDecimal housingPrice) {
		this.housingPrice = housingPrice;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjBaseBusinessHouse{");
		sb.append("bizHouseId=").append(bizHouseId);
		sb.append(", bizId=").append(bizId);
		sb.append(", houseId=").append(houseId);
		sb.append(", buildId=").append(buildId);
		sb.append(", houseLocation='").append(houseLocation).append('\'');
		sb.append(", buildFramework='").append(buildFramework).append('\'');
		sb.append(", floorNum=").append(floorNum);
		sb.append(", householdNum=").append(householdNum);
		sb.append(", roomNum='").append(roomNum).append('\'');
		sb.append(", useType='").append(useType).append('\'');
		sb.append(", forecastSize=").append(forecastSize);
		sb.append(", actualSize=").append(actualSize);
		sb.append(", houseCode='").append(houseCode).append('\'');
		sb.append(", buildCode='").append(buildCode).append('\'');
		sb.append(", nominalLayer='").append(nominalLayer).append('\'');
		sb.append(", selectFlag='").append(selectFlag).append('\'');
		sb.append(", doorModel='").append(doorModel).append('\'');
		sb.append(", areaId=").append(areaId);
		sb.append(", streetId=").append(streetId);
		sb.append(", restrictRegisterFlag='").append(restrictRegisterFlag).append('\'');
		sb.append(", mortRegisterFlag='").append(mortRegisterFlag).append('\'');
		sb.append(", transferRegisterFlag='").append(transferRegisterFlag).append('\'');
		sb.append(", initialRegisterFlag='").append(initialRegisterFlag).append('\'');
		sb.append(", housePredictMortRegisterFlag='").append(housePredictMortRegisterFlag).append('\'');
		sb.append(", housePredictRegisterFlag='").append(housePredictRegisterFlag).append('\'');
		sb.append(", houseContractRegisterFlag='").append(houseContractRegisterFlag).append('\'');
		sb.append(", contractSignFlag='").append(contractSignFlag).append('\'');
		sb.append(", subscribeFlag='").append(subscribeFlag).append('\'');
		sb.append(", salePermitFlag='").append(salePermitFlag).append('\'');
		sb.append(", buildName='").append(buildName).append('\'');
		sb.append(", ownerName='").append(ownerName).append('\'');
		sb.append(", housingPrice=").append(housingPrice);
		sb.append('}');
		return sb.toString();
	}
}
